package zl.osimall.common.mapper;

import org.apache.ibatis.annotations.Mapper;
import zl.osimall.common.bean.Addr;

import java.util.List;

@Mapper
public interface AddrMapper {

    public Integer insert(Addr addr);

    public Integer update(Addr addr);

    public Integer delete(Integer id);

    public List<Addr> selectByUserId(Integer userId);

    public Addr selectByCondition(Addr addr);

    public Addr selectById(Integer id);
}
